import { QueryDataList, MarkDataList } from '@/store/modules/toolBar/type';

export const selectObject = {
    off: 1,
    on: 2,
    stop: 5,
    offText: "未启用",
    onText: "启用",
    stopText: "停用"
}

export const queryList: QueryDataList[] = [
  {
    id: 1,
    name: 'icon-tiaochuang1',
    type: 'mpr',
    label: '调窗',
    suffix: 'select',
  },
  {
    id: 2,
    name: 'icon-gongjusuofang',
    type: ['pic', 'mpr'],
    label: '缩放'
  },
  {
    id: 3,
    name: 'icon-gongjuyidong',
    type: ['pic', 'mpr'],
    label: '移动'
  },
  {
    id: 4,
    name: 'icon-gongjuzhongzhi',
    type: ['pic', 'mpr'],
    label: '重置'
  },
  {
    id: 5,
    name: 'icon-gongjuchangdu',
    type: 'pic',
    label: '尺子'
  },
  {
    id: 6,
    name: 'icon-gongjuqingchuchizi',
    type: 'pic',
    label: '删除尺子'
  },
  {
    id: 7,
    name: 'icon-gongjushizixian',
    type: 'mpr',
    label: '十字线'
  },
  {
    id: 8,
    name: 'icon-gongjutoumingdu',
    type: 'mpr',
    isVisible: false,
    label: '透明度'
  },
  {
    id: 9,
    name: 'icon-gongjusijiaoxinxi',
    type: 'mpr',
    isFour: true,
    label: '四角信息'
  }
];

const lesionList = [{
  id: 0,
  lesion: '',
  name: '',
  color: '',
  eyeStatus: true,
  seriesList: {
    formId: 0,
    form: {},
    formOptions: [{
      id: 0,
      componentId: 0,
      title: '',
      field: '',
      type: '',
      required: false
    }]
  }
}]

export const markList: MarkDataList[] = [
  {
    id: 10,
    name: 'icon-gongjujuxing',
    label: '矩形',
    type: 'pic',
    toolType: 'RECTANGLE',
    isVisible: false,
    lesionList
  },
  {
    id: 11,
    name: 'icon-gongjutuoyuan',
    label: '椭圆',
    type: 'pic',
    toolType: 'ELLIPSE',
    isVisible: false,
    lesionList
  },
  {
    id: 12,
    name: 'icon-gongjubihequxian',
    label: '闭合曲线',
    type: '',
    toolType: '',
    isVisible: false,
    lesionList
  },
  {
    id: 13,
    name: 'icon-gongjuziyouhuabi',
    label: '自由画笔',
    type: 'mpr',
    toolType: 'FREEHAND_DAUBER',
    lesionList,
    isVisible: false
  },
  {
    id: 14,
    name: 'icon-gongjuxiangpica',
    label: '橡皮擦',
    type: 'mpr',
    toolType: 'eraser',
    lesionList,
    isVisible: false
  },
    {
        id: 15,
        name: 'icon-gongjuchangfangti',
        label: '长方体',
        type: 'mpr',
        toolType: 'CUBOID',
        lesionList,
        isVisible: false
    }
]

export const viewingToolList = [
    {
        id: 1,
        name: 'icon-tiaochuang',
        label: '调窗'
    },
    {
        id: 2,
        name: 'icon-gongjusuofang',
        label: '缩放'
    },
    {
        id: 3,
        name: 'icon-gongjuyidong',
        label: '移动'
    },
    {
        id: 4,
        name: 'icon-gongjuzhongzhi',
        label: '重置'
    },
    {
        id: 5,
        name: 'icon-gongjushizixian',
        label: '十字线'
    },
    {
        id: 6,
        name: 'icon-gongjutoumingdu',
        label: '透明度'
    },
    {
        id: 7,
        name: 'icon-gongjusijiaoxinxi',
        label: '四角信息'
    }
]

export const markToolList = [
    {
        id: 8,
        name: 'icon-gongjuziyouhuabi',
        label: '自由画笔',
        isVisible: false
    },
    {
        id: 9,
        name: 'icon-gongjuxiangpica',
        label: '橡皮擦',
        isVisible: false
    }
]